package model;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * course entity. @author MyEclipse Persistence Tools
 */

public class course  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private techer techer;
     private String name;
     private Set techers = new HashSet(0);
     private Set scores = new HashSet(0);


    // Constructors

    /** default constructor */
    public course() {
    }

    
    /** full constructor */
    public course(techer techer, String name, Set techers, Set scores) {
        this.techer = techer;
        this.name = name;
        this.techers = techers;
        this.scores = scores;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public techer getTecher() {
        return this.techer;
    }
    
    public void setTecher(techer techer) {
        this.techer = techer;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getTechers() {
        return this.techers;
    }
    
    public void setTechers(Set techers) {
        this.techers = techers;
    }

    public Set getScores() {
        return this.scores;
    }
    
    public void setScores(Set scores) {
        this.scores = scores;
    }
   








}